home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / 1374_uucp_over_tcp.rtf < prev    next >
Text File  |  1993-11-08  |  2KB  |  79 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fmodern Courier;\f2\fmodern Ohlfs;}
  2. \paperw12700
  3. \paperh10580
  4. \margl120
  5. \margr140
  6. {\colortbl;\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs28\fc0\cf0 Q:  I'm trying to connect to another machine using UUCP over the ethernet.  When I run 
  8. \b uucico
  9. \b0  in debug mode (
  10. \b -x99
  11. \b0 ), I get the message\
  12. \
  13.  
  14. \f1\fs24\fc1\cf1     tcpopen failed: errno 61\
  15.     root rhino (11/13-14:39-2883) FAILED (Connection refused)\
  16.  
  17. \f0\fs28\fc0\cf0 \
  18. My 
  19. \b L.sys
  20. \b0  and 
  21. \b USERFILE
  22. \b0  files are correct; the remote machine's, likewise.  I have an entry for 
  23. \b uucp
  24. \b0  in my 
  25. \b /services
  26. \b0  directory in NetInfo:\
  27. \
  28.  
  29. \f1\fs24\fc1\cf1     myhost:22# 
  30. \b niutil -read . /services/uucp
  31. \b0 \
  32.     port: 540 \
  33.     protocol: tcp \
  34.     name: uucp uucpd \
  35.  
  36. \f0\fs28\fc0\cf0 \
  37. What's wrong?\
  38. \
  39. A:  You also need to enable 
  40. \b uucp
  41. \b0  in the file 
  42. \b /etc/inetd.conf
  43. \b0 .  We ship the system with the line in the file, but commented out:\
  44. \
  45.  
  46. \f1\fs24\fc1\cf1     # Run as user "uucp" if you don't want uucpd's wtmp entries.\
  47.     # uucp    stream    tcp    nowait    root    /usr/etc/uucpd    uucpd\
  48.  
  49. \f0\fs28\fc0\cf0 \
  50.  
  51. \pard\tx960\tx1920\tx2880\tx3480\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0\cf0 Just uncomment the “ 
  52. \f1\fs26\fc1\cf1 uucp stream
  53. \f0\fs28 ” line, send 
  54. \b inetd
  55. \b0  a SIGHUP, and you're all set.  See the inetd(8) UNIX Manual Page for details on the format of 
  56. \b inetd.conf
  57. \b0 .\
  58.  
  59. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0\cf0 \
  60. By the way, each step accomplished (
  61. \b L.sys
  62. \b0  and 
  63. \b USERFILE
  64. \b0  being correct on both machines, a 
  65. \b uucp
  66. \b0  entry in 
  67. \b /services
  68. \b0  in NetInfo) is necessary in addition to the modification to 
  69. \b inetd.conf
  70. \b0 .\
  71. \
  72. Note also that in Release 1.0 and Release 1.0a a TCP-based UUCP connection does not work, even if you accomplish everything mentioned in this document.  This is because of a bug, fixed in Release 2.\
  73. \
  74. QA681\
  75. \
  76. Valid for 1.0, 2.0, 3.0,3.1\
  77. \
  78.  
  79.